/*
 * Copyright (c) 2005, 2014 vacoor
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 */
package org.vacoor.nothing.demo.jna;

/**
 * Created on 4/5/14.
 *
 * @author vacoor
 */
public class LIBCTest {
    public static void main(String[] args) {
        GNUCLibrary GLIBC = GNUCLibrary.INSTANCE;

        System.out.println(GLIBC.getpid());
        System.out.println(GLIBC.getppid());

        int status = GLIBC.killpg(13302, GLIBC.SIGKILL);
        if (-1 == status) {
            status = GLIBC.kill(13302, GLIBC.SIGKILL);
        }
    }
}
